package cn.elwy.upms.entity;

import java.util.Date;

import cn.elwy.common.entity.CommonEntity;

public class UserPost extends CommonEntity {

	private static final long serialVersionUID = 1L;

	private User user; // 用户ID
	private String postCode; // 岗位代码
	private Boolean canManage; // 是否可以管理
	private Date inceptTime; // 生效时间
	private Date expiryTime; // 失效时间
	private String remark; // 备注

	public UserPost() {
		super();
	}

	public UserPost(String id) {
		super(id);
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode == null ? null : postCode.trim();
	}

	public Boolean getCanManage() {
		return canManage;
	}

	public void setCanManage(Boolean canManage) {
		this.canManage = canManage;
	}

	public Date getInceptTime() {
		return inceptTime;
	}

	public void setInceptTime(Date inceptTime) {
		this.inceptTime = inceptTime;
	}

	public Date getExpiryTime() {
		return expiryTime;
	}

	public void setExpiryTime(Date expiryTime) {
		this.expiryTime = expiryTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

}